﻿
using System;

namespace EasyComm.Module
{
    class Program
    {
        static void Main(string[] args)
        {
            Uri discoveryUrl = null;
            Uri.TryCreate(args[1], UriKind.RelativeOrAbsolute, out discoveryUrl);


            //ModuleServiceHost host = new ModuleServiceHost();
            //using (WorkerProcess process = new WorkerProcess(null))
            //{
            //    Console.WriteLine("EasyComm Module.");
            //    Console.WriteLine();
            //    Console.Write("Initializing worker process...");

            //    process.Initialize();
            //    Console.WriteLine("Done.");
            //    Console.WriteLine(string.Format("Running on '{0}'.", process.ServerAddress));

            //    Console.WriteLine();
            //    Console.WriteLine("Press Enter key to exit.");
            //    Console.ReadLine();
            //}
        }
    }
}
